package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.design.DesignPatternProperty;

public interface IDesignPatternPropertyService {
	public boolean addDesignPatternProperty(DesignPatternProperty designPatternProperty,
			long designPatternId);
	
	public DesignPatternProperty updateDesignPatternProperty(DesignPatternProperty designPatternProperty);
	
	public DesignPatternProperty getDesignPatternPropertyById(long id);
	
	public boolean addChildDesignPatternProperties(List<DesignPatternProperty> childProperties, long designPatternId);
}
